﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Aga.GestionDeArchivos.Web.Models.Estanterias
{

    public class EditModel : BaseModel
    {
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the nombre.
        /// </summary>
        /// <value>The nombre.</value>
        [Display(Name = "Estantería Número")]
        public int Numero { get; set; }

        /// <summary>
        /// Gets or sets the deposito id.
        /// </summary>
        /// <value>The deposito id.</value>
        public int DepositoId { get; set; }

        /// <summary>
        /// Gets or sets the deposito.
        /// </summary>
        /// <value>The deposito.</value>
        [Display(Name = "Depósito")]
        public string Deposito { get; set; }

        /// <summary>
        /// Gets or sets the sector.
        /// </summary>
        /// <value>The sector.</value>
        [Display(Name = "Sector")]
        public int Sector { get; set; }

        /// <summary>
        /// Gets or sets the horizontal.
        /// </summary>
        /// <value>The horizontal.</value>
        [Display(Name = "Horizontal")]
        [Range(1, 100, ErrorMessage = "El valor no puede ser menor a 1")]
        public int Horizontal { get; set; }

        /// <summary>
        /// Gets or sets the vertical.
        /// </summary>
        /// <value>The vertical.</value>
        [Display(Name = "Vertical")]
        [Range(1, 100, ErrorMessage = "El valor no puede ser menor a 1")]
        public int Vertical { get; set; }

        /// <summary>
        /// Gets or sets the fondo.
        /// </summary>
        /// <value>The fondo.</value>
        [Display(Name = "Fondo")]
        [Range(1, 100, ErrorMessage = "El valor no puede ser menor a 1")]
        public int Fondo { get; set; }

    }
}